/*
 * 读取本地配置（服务端相关配置）
 */
#pragma once
#include"redis_struct.h"
#include"configclass.h"


const int32_t G_MAX_REDIS_IDX=7;

class CLocalIniParam {
public:
	CLocalIniParam();
	virtual ~CLocalIniParam();

	static CLocalIniParam* GetInstance();
	//读取 redis 参数
	bool ReadRedisParams(const std::string& strName);
	//获取 redis 相关信息
	const T_JS_Redis_Connect_Param* const GetRedisConfig(int nIdx);


private:
	T_JS_Redis_Connect_Param m_tRdsConfig[G_MAX_REDIS_IDX];			//redis 连接配置

};
